<ng-template #extra>
  <button nz-button (click)="handleCancel()" style="margin-right:10px;">
    取消
  </button>
  <button nz-button nzType="primary" (click)="submit()">
    <i nz-icon nzType="save" nzTheme="outline"></i>
    保存
  </button>
</ng-template>

<nz-card [nzTitle]="id ? '编辑产品' : '创建产品'" [nzExtra]="extra">
  
   <app-product-edit-component [id]="id" #componentChild></app-product-edit-component> 
 
</nz-card>
